//
//  NSString+MimeType.h
//  QTCategory
//
//  Created by 张俊博 on 16/9/11.
//  Copyright © 2016年 CISDI. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (MimeType)

+(NSString *)mimeTypeForExtension:(NSString *)extension;
+(NSString *)extensionFromMimeType:(NSString *)mimeType;

+ (BOOL)isImageForMimeType:(NSString *)mimeType;
+ (BOOL)isImageForExtension:(NSString *)extension;

@end
